( function f ( e ) {
    e.BIMRUN || ( e.BIMRUN = {} );

    var baseDomain = 'https://3d.bimrun.com'; 
    var resUrl = baseDomain + "/resource";
    var baseUrl = baseDomain + "/webgl";


    e.BIMRUN.Urls = {
        baseUrl: baseUrl,
        gisTerrain: "http://180.167.213.123/gis/gis-resource/terrain?key=",
        baseDomain: baseDomain,
        getProjects: baseUrl + "/webGLInterface/getProjects",
        getOGLs: baseUrl + "/webGLInterface/getOGLs",
        getAttributes: baseUrl + "/getAttributes",
        getManifestBySceneId: baseUrl + "/getManifest",
        getManifest: baseUrl + "/manifest",
        getManifestByCriteria: baseUrl + "/webGLInterface/getManifestByCriteria",
        getManifestByProject: baseUrl + "/webGLInterface/getImproveManifest",
        getManifestByMilestoneAndSize: baseUrl + "/webGLInterface/getManifestByMilestoneAndSize",
        getManifestByModelAndBox: baseUrl + "/webGLInterface/getManifestByModelAndBox",
        getModelInfo: baseUrl + "/getSimpleModelInfo",
        getViewPorts: baseUrl + "/getViewports",
        saveViewPort: baseUrl + "/webGLInterface/saveViewPort",
        deleteViewPort: baseUrl + "/webGLInterface/deleteViewPort",
        getLevels: baseDomain + "/rest/api/levels",
        getGridlines: baseDomain + "/rest/api/gridLines",
        getTexture: function ( textureName ) {
            return resUrl + textureName;
        },
        getModelTypeOGL: function ( projectId, geometryHash, lod ) {
            return resUrl + "/" + projectId + "/geometry/ogl/" + geometryHash + ".ogl";
        },
        getOglPack: resUrl + '/' + 'pack'
    }

} )( window );